/*
 * @Author: Automator
 * @Date: 2018-05-22 18:19:08
 * @description: 
*/

 const  api = {

     /*
     * 方法描述:根据评估公司-主id 删除评估公司,请求方式:DELETE,参数:id,返回值:JsonResult,是否可用:ok
     * @param id  id  Required:[true]  Type:[integer]  Location:[path]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'deleteEventAppraise': {url: '/cms/v2/api/event/appraise/{id}', method: 'delete'},

     /*
     * 方法描述:添加评估公司,请求方式:POST,参数:eventAppraiseDto,返回值:JsonResult,是否可用:ok
     * @param eventAppraiseDto  eventAppraiseDto  Required:[true]  Type:[]  Location:[body]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'saveEventAppraise': {url: '/cms/v2/api/event/appraise', method: 'post'},

     /*
     * 方法描述:获取评估公司列表,请求方式:GET,参数:EventAppraiseSearchDto,返回值:JsonResult<PageResult<EventAppraiseVO>>,是否可用:ok
     * @param pageParam.pageIndex    Required:[false]  Type:[integer]  Location:[query]
     * @param pageParam.pageSize    Required:[false]  Type:[integer]  Location:[query]
     * @param eventId  事件id  Required:[false]  Type:[integer]  Location:[query]
     */
    'EventAppraisePage': {url: '/cms/v2/api/event/appraise', method: 'get'},

     /*
     * 方法描述:编辑评估公司,请求方式:PUT,参数:eventAppraiseDto,返回值:JsonResult,是否可用:ok
     * @param eventAppraiseDto  eventAppraiseDto  Required:[true]  Type:[]  Location:[body]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'updateEventAppraise': {url: '/cms/v2/api/event/appraise', method: 'put'},

     /*
     * 方法描述:添加/更新 评估公司-报告,请求方式:POST,参数:eventAppraiseReportDto,返回值:JsonResult,是否可用:ok
     * @param eventAppraiseReportDto  eventAppraiseReportDto  Required:[true]  Type:[]  Location:[body]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'saveOrUpdateEventAppraiseReport': {url: '/cms/v2/api/event/appraise/report', method: 'post'},

     /*
     * 方法描述:根据评估公司-主id 查询关联报告信息,请求方式:GET 参数:businessId,返回值:JsonResult<EventAppraiseReportVO>,是否可用:ok
     * @param businessId  businessId  Required:[true]  Type:[integer]  Location:[query]
     */
    'getEventAppraiseReport': {url: '/cms/v2/api/event/appraise/report', method: 'get'},

};

 export default api;
